package com.headFirstModel.commandPattern.action;

/**
 * 音响操作
 */
public class Strereo {
    public void on(){
        System.out.println("打开音响...");
    }
    public void off(){
        System.out.println("关闭音响...");
    }
    public void setCd(){
        System.out.println("放置CD...");
    }
    public void setRadio(){
        System.out.println("设置为收音机...");
    }
    public void setVolume(int value){
        System.out.println("设置音量为:"+value+"...");
    }
}
